﻿@using DIS.Infrastructure.Entities.Entity;
@{
    Layout = null;
    User user = ViewBag.User;
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>top</title>
<link rel="stylesheet" href="/Content/css/base.css" type="text/css"/>
<script  type="text/javascript">
    var preFrameW = '206,*';
    var FrameHide = 0;
    var curStyle = 1;
    var totalItem = 9;
    function ChangeMenu(way) {
        var addwidth = 10;
        var fcol = top.document.all.btFrame.cols;
        if (way == 1) addwidth = 10;
        else if (way == -1) addwidth = -10;
        else if (way == 0) {
            if (FrameHide == 0) {
                preFrameW = top.document.all.btFrame.cols;
                top.document.all.btFrame.cols = '0,*';
                FrameHide = 1;
                return;
            } else {
                top.document.all.btFrame.cols = preFrameW;
                FrameHide = 0;
                return;
            }
        }
        fcols = fcol.split(',');
        fcols[0] = parseInt(fcols[0]) + addwidth;
        top.document.all.btFrame.cols = fcols[0] + ',*';
    }


    function mv(selobj, moveout, itemnum) {
        if (itemnum == curStyle) return false;
        if (moveout == 'm') selobj.className = 'itemsel';
        if (moveout == 'o') selobj.className = 'item';
        return true;
    }

    function changeSel(itemnum) {
        curStyle = itemnum;
        for (i = 1; i <= totalItem; i++) {
            if (document.getElementById('item' + i)) document.getElementById('item' + i).className = 'item';
        }
        document.getElementById('item' + itemnum).className = 'itemsel';
    }

</script>
<style type="text/css">
body { padding:0px; margin:0px; }
#tpa {
	color: #009933;
	margin:0px;
	padding:0px;
	float:right;
	padding-right:10px;
}

#tpa dd {
	margin:0px;
	padding:0px;
	float:left;
	margin-right:2px;
}

#tpa dd.ditem {
	margin-right:8px;
}

#tpa dd.img {
  padding-top:6px;
}

div.item
{
  text-align:center;
	background:url(/content/img/topitembg.gif) 0px 3px no-repeat;
	width:82px;
	height:26px;
	line-height:28px;
}

.itemsel {
  width:80px;
  text-align:center;
  background:#226411;
	border-left:1px solid #c5f097;
	border-right:1px solid #c5f097;
	border-top:1px solid #c5f097;
	height:26px;
	line-height:28px;
}

*html .itemsel {
	height:26px;
	line-height:26px;
}

a:link,a:visited {
 text-decoration: underline;
}

.item a:link, .item a:visited {
	font-size: 12px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.itemsel a:hover {
	color: #ffffff;
	font-weight: bold;
	border-bottom:2px solid #E9FC65;
}

.itemsel a:link, .itemsel a:visited {
	font-size: 12px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.itemsel a:hover {
	color: #ffffff;
	border-bottom:2px solid #E9FC65;
}

.rmain {
  padding-left:10px;
  /* background:url(__PUBLIC__/Images/frame/toprightbg.gif) no-repeat; */
}
</style>
<script src="/scripts/jquery.js" type="text/javascript"/>
<script type="text/javascript">
    $(function () {
        $('.loginout').click(function () {
            var url = $(this).attr('href');
            if (window.confirm('你确定要退出吗？')) {
                window.open(url, '_top');
            }
            return false;
        });
    });
</script>
</head>
<body bgColor='#ffffff'>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="/content/img/topbg.gif">
  <tr>
    <td width='20%' height="60"><img src="/content/img/logo.gif" /></td>
    <td width='80%' align="right" valign="bottom">
    	<table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td align="right" height="26" style="padding-right:10px;line-height:26px;margin-bottom:15px;padding-bottom:10px;">
        	您好：<span class="username"><a href="/account/MyInfo"   target="main">@user.RealName</a></span>，欢迎使用数据填报系统！
        	[<a href="/home/main" target="main">首页</a>]
                [<a href="/Account/ChangePassword" target="main">修改密码</a>]
        	[<a href="/account/logout" target="_top">注销退出</a>]&nbsp;
      </td>
      </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>
